//
//  MineTableViewCell.h
//  TerritoryShopkeeper
//
//  Created by 李小龙 on 2017/11/30.
//  Copyright © 2017年 ZDQK. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, MineTableClickType) {
    ClickTypeCoupons,       // 优惠券
    ClickTypeAddress,       // 地址管理
    ClickTypeCollection,    // 我的收藏
    ClickTypeMessage,       // 我的消息
    ClickTypeFriend,        // 推荐好友
    ClickTypeSignIn,        // 我的签到
    ClickTypeSetting,       // 系统设置,现已修改为我的店铺
    ClickTypeMiZhi,         // 米值
    ClickTypeSpecial,       // 金融优惠
};

typedef void(^MineTableBlock)(MineTableClickType type);

@interface MineTableViewCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UILabel *firstBalanceLabel;
@property (weak, nonatomic) IBOutlet UILabel *firstIntegralLabel;
@property (weak, nonatomic) IBOutlet UILabel *firstCouponsLabel;

@property (weak, nonatomic) IBOutlet UIView *secondLineView;

@property (nonatomic, copy) MineTableBlock block;

+ (instancetype)mineTableCellWith:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath;

- (void)updateSecondCellWith:(NSMutableArray *)arr indexPath:(NSIndexPath *)indexPath;

@end
